<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>撑杆过河</title>
    <meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="full-screen" content="true" />
    <meta name="screen-orientation" content="portrait" />
    <meta name="x5-fullscreen" content="true" />
    <meta name="360-fullscreen" content="true" />
    <style>
        * {
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        html,
        body {
            -ms-touch-action: none;
            /*background: #888888;*/
            padding: 0;
            border: 0;
            margin: 0;
            height: 100%;
            background-image: url(./resource/assets/bg1.png);
            background-size: 100% 100%;
            background-repeat: no-repeat;
            position: relative;
        }

        img {
            pointer-events: none;
        }

        .water {
            width: 100%;
            height: 112px;
            background-image: url(./resource/assets/water2.gif);
            background-size: 100% 100%;
            position: absolute;
            bottom: 0;
            left: 0;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        .loading{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /*top: 100px;
            left: 50%;
            transform: translateX(-50%);*/
            display: flex;
            justify-content: center;
        }

        .loading img{
            width: 50%;
            height: 50%;
        }

    </style>

<!--这个标签为通过egret提供的第三方库的方式生成的 javascript 文件。删除 modules_files 标签后，库文件加载列表将不会变化，请谨慎操作！-->
<!--modules_files_start-->
	<script egret="lib" src="libs/modules/egret/egret.js" src-release="libs/modules/egret/egret.min.js"></script>
	<script egret="lib" src="libs/modules/egret/egret.web.js" src-release="libs/modules/egret/egret.web.min.js"></script>
	<script egret="lib" src="libs/modules/game/game.js" src-release="libs/modules/game/game.min.js"></script>
	<script egret="lib" src="libs/modules/game/game.web.js" src-release="libs/modules/game/game.web.min.js"></script>
	<script egret="lib" src="libs/modules/res/res.js" src-release="libs/modules/res/res.min.js"></script>
	<script egret="lib" src="libs/modules/eui/eui.js" src-release="libs/modules/eui/eui.min.js"></script>
	<script egret="lib" src="libs/modules/tween/tween.js" src-release="libs/modules/tween/tween.min.js"></script>
	<!--modules_files_end-->

<!--这个标签为不通过egret提供的第三方库的方式使用的 javascript 文件，请将这些文件放在libs下，但不要放在modules下面。-->
<!--other_libs_files_start-->
<!--other_libs_files_end-->

<!--这个标签会被替换为项目中所有的 javascript 文件。删除 game_files 标签后，项目文件加载列表将不会变化，请谨慎操作！-->
<!--game_files_start-->
	<script egret="game" src="bin-debug/AssetAdapter.js"></script>
	<script egret="game" src="bin-debug/GameUI.js"></script>
	<script egret="game" src="bin-debug/GraphicsUtil.js"></script>
	<script egret="game" src="bin-debug/LoadingUI.js"></script>
	<script egret="game" src="bin-debug/Main.js"></script>
	<script egret="game" src="bin-debug/Music.js"></script>
	<script egret="game" src="bin-debug/PoleMan.js"></script>
	<script egret="game" src="bin-debug/Sound.js"></script>
	<script egret="game" src="bin-debug/ThemeAdapter.js"></script>
	<!--game_files_end-->
</head>

<body>
    <!--
        data-scale-mode: showAll、noScale、noBorder、exactFit、fixedWidth、fixedHeight、fixedNarrow、fixedWide
    -->
    <div style="margin: auto;width: 100%;height: 100%;background-image:  url(./resource/assets/water2.gif);background-position: 0 100%;background-repeat: no-repeat;background-size: 100% 112px" class="egret-player" data-entry-class="Main" data-orientation="auto" data-scale-mode="showAll" data-frame-rate="30" data-content-width="640"
data-content-height="960" data-show-paint-rect="false" data-multi-fingered="2" data-show-fps="false" data-show-log="false"
data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<!--<div class="water"></div>-->
<div class="loading">
    <img src="./resource/assets/loding.svg" alt="">
</div>
<script>
    /**
     * {
     * "renderMode":, //引擎渲染模式，"canvas" 或者 "webgl"
     * "audioType": "" //使用的音频类型，0:默认，1:qq audio，2:web audio，3:audio
     * }
     **/
    egret.runEgret({ renderMode: "webgl", audioType: 2 });

    window._hideLoad = function () {
        document.querySelector('.loading').style.display = 'none';
    }
</script>
</body>

</html>